package com.ruoyi.project.student.service.impl;

import com.ruoyi.project.student.domain.Student;
import com.ruoyi.project.student.mapper.StudentMapper;
import com.ruoyi.project.student.service.StudentService;
import com.ruoyi.project.system.domain.SysPost;
import com.ruoyi.project.system.mapper.SysUserMapper;
import com.ruoyi.project.system.service.impl.SysUserServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

/**
 * 用户 业务层处理
 *
 * @author ruoyi
 */
@Service
public class StudentServiceImpl implements StudentService {
    private static final Logger log = LoggerFactory.getLogger(StudentServiceImpl.class);
    @Autowired
    private StudentMapper studentMapper;

    @Override
    public List<Student> selectUserList(Student student) {
        return studentMapper.selectStudentList(student);
    }
}
